package com.lcf.car.entity;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
/**
 * <p>
 * 
 * </p>
 *
 * @author lichufeng 
 * @since 2024-01-15
 */
@TableName("car")
public class Car implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 汽车id
     */
    private Long carId;

    /**
     * 汽车名称
     */
    private String carName;

    /**
     * 汽车品牌id
     */
    private String brandId;

    /**
     * 汽车品牌名称
     */
    private String brandName;

    /**
     * 价格
     */
    private BigDecimal price;

    /**
     * 分数
     */
    private Float grade;

    /**
     * 销量
     */
    private Integer sale;

    /**
     * 画册图片，连同产品图片一共五张，以逗号分割
     */
    private String albumPics;

    public Long getCarId() {
        return carId;
    }

    public void setCarId(Long carId) {
        this.carId = carId;
    }

    public String getCarName() {
        return carName;
    }

    public void setCarName(String carName) {
        this.carName = carName;
    }

    public String getBrandId() {
        return brandId;
    }

    public void setBrandId(String brandId) {
        this.brandId = brandId;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Float getGrade() {
        return grade;
    }

    public void setGrade(Float grade) {
        this.grade = grade;
    }

    public Integer getSale() {
        return sale;
    }

    public void setSale(Integer sale) {
        this.sale = sale;
    }

    public String getAlbumPics() {
        return albumPics;
    }

    public void setAlbumPics(String albumPics) {
        this.albumPics = albumPics;
    }

    @Override
    public String toString() {
        return "Car{" +
        ", carId=" + carId +
        ", carName=" + carName +
        ", brandId=" + brandId +
        ", brandName=" + brandName +
        ", price=" + price +
        ", grade=" + grade +
        ", sale=" + sale +
        ", albumPics=" + albumPics +
        "}";
    }
}
